<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>练习</title>
    <style>
     .box {
      height: 40px;
      border-top: 3px solid #ff8500;
      border-bottom: 1px solid #edeef0;
    } 
    .box a{
        display: inline-block;
        width: 80px;
        height: 40px;
        color: #757373;
      text-decoration: none;
      text-align: center;
      line-height: 40px;
      font-size: 12px;
    }
    .box a:hover {
      background-color: #edeef0;
      color: #ff8400;
    }
    </style>
</head>
<body>
    <div class="box">
        <a href=" ">新浪导航<a href="#">新浪导航</a ><a href="#">新浪导航</a ><a href="#">新浪导航</a >
    </div>
</body>
</html>